QT        += network 
DEFINES += QT_STATICPLUGIN
QTPLUGIN += qgif 
HEADERS     = commentsview.h \
	      commentsmodel.h\
	      mainwin.h\
	      blogwizard.h\
	      wpxmlrpc.h\
	      configdlg.h\
	      aboutdlg.h\
	      common.h\
	      autoupdate.h\
	      popupwnd.h\
	      blog.h\
	      comment.h

RESOURCES   = wp-notifier.qrc
SOURCES     = main.cpp \
              commentsview.cpp \
	      commentsmodel.cpp\
	      configdlg.cpp\
	      mainwin.cpp\
	      blogwizard.cpp\
	      wpxmlrpc.cpp\
	      aboutdlg.cpp\
	      common.cpp\
	      autoupdate.cpp\
	      popupwnd.cpp\
	      blog.cpp\
	      comment.cpp

# Qt Designer interfaces
INTERFACES += $$PWD/notifier.ui \
	      $$PWD/account.ui	\
	      $$PWD/configdlg.ui\
	      $$PWD/aboutdlg.ui


include(qxmlrpc/client/client.pri)
# install
target.path = $$[QT_INSTALL_EXAMPLES]/itemviews/chart
sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro *.cht
sources.path = $$[QT_INSTALL_EXAMPLES]/itemviews/chart
INSTALLS += target sources

windows {
	DEFINES += UNICODE
	QMAKE_LFLAGS += /FORCE:MULTIPLE /INCREMENTAL
	CONFIG += embed_manifest_exe
	RC_FILE = ./win32/notifier.rc
	MOC_DIR     = _moc
	UI_DIR      = _ui
	RCC_DIR     = _rcc
	QMAKE_CXXFLAGS_DEBUG     += -Gm 

}
unix{
	MOC_DIR     = .moc
	UI_DIR      = .ui
	RCC_DIR     = .rcc
}